package com.db.test;

import com.db.utils.BuildDataUtils;

/**
 * @author xin.ding
 * @date 2020/11/27 16:37
 */
public class BuildDataForKettle {
    public static void main(String[] args) {
        String table1 = "T_TEST1";
        String sql1 = "INSERT INTO T_TEST1 VALUES (%d, 'oracle-test1-c1-1')";
        BuildDataUtils.buildData(table1, sql1, true, 10000);

        String table2 = "T_TEST2";
        String sql2 = "INSERT INTO T_TEST2 VALUES (%d, 'oracle-test2-c1-1', 'oracle-test2-c2-1')";
        BuildDataUtils.buildData(table2, sql2, true, 10000);

        String table3 = "T_TEST3";
        String sql3 = "INSERT INTO T_TEST3 VALUES (%d, 'oracle-test3-c1-1', 'oracle-test3-c2-1'，'oracle-test3-c3-1')";
        BuildDataUtils.buildData(table3, sql3, true, 10000);
    }
}
